home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / tmod900.zip / TMODEM.DOC < prev    next >
Text File  |  1992-03-17  |  36KB  |  928 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.                                Tmodem Rev 9.00
  23.  
  24.                         Copyright (c) 1988, 89, 90, 91, 92
  25.                                         By
  26.                           International TeleCommunications
  27.                                 ALL RIGHTS RESERVED
  28.  
  29.                       Table of Contents
  30.                              i
  31. Tmodem Command Line Switches .............................. Page   2
  32.      /F ................................................... Page   2
  33.      /R ................................................... Page   3
  34.      /U ................................................... Page   3
  35.      /S ................................................... Page   4
  36.           @ ............................................... Page   4
  37.      /K ................................................... Page   5
  38.      /N ................................................... Page   5
  39.      /P ................................................... Page   6
  40.      /V ................................................... Page   6
  41.      /B ................................................... Page   6
  42.      Locked Dte/Bbs Programs .............................. Page   7
  43.      /X ................................................... Page   7
  44.      /A ................................................... Page   7
  45.      Phase Shifting ....................................... Page   8
  46.      Required Switches .................................... Page   8
  47.      Your Receive Batch File .............................. Page   8
  48.      Send Batch File ...................................... Page   9
  49. Error Levels .............................................. Page   9
  50. Debug Messages ............................................ Page   9
  51. Bbs/Terminal Programs ..................................... Page   9
  52. Installing Tmodem On A Bbs ................................ Page  10
  53. Installing Tmodem On A Terminal Package ................... Page  10
  54. Terminal Interface Examples ............................... Page  12
  55.      Telix ................................................ Page  12
  56.           Locked Serial Ports And Telix ................... Page  13
  57.      Qmodem ............................................... Page  13
  58.      Qt 2000 .............................................. Page  14
  59. Bbs Examples .............................................. Page  14
  60. Limited Shareware. ........................................ Page  14
  61.      Features That Will Not Work. ......................... Page  14
  62.           Batch   Transfers ............................... Page  14
  63. Registering Tmodem ........................................ Page  15
  64.      $15.00 Registration .................................. Page  15
  65.      $25.00 Registration .................................. Page  15
  66.      Upgrades ............................................. Page  15
  67. Tmodem License ............................................ Page  15
  68.  
  69.          Tmodem          Technical Reference Manual           Page  1
  70.  
  71.                              LIMITED WARRANTY
  72.  
  73.          This   products provided "as is" without  warranty   of   any
  74.          kind.   The entire risk as to the results and performance  of
  75.          the  program  is assumed by you.  Should  the  program  prove
  76.          defective,  you  (and not International TeleCommunications  )
  77.          assume the entire cost of all necessary  servicing, repair or
  78.          correction.   Further, International TeleCommunications  does
  79.          not warrant, guarantee, or make representations regarding the
  80.          use of, or the results of the use of this program in terms of
  81.          correctness,    accuracy,   reliability,   currentness,    or
  82.          otherwise;  and  you  rely on the program  and  its   results
  83.          solely   at  your own risk.  International TeleCommunications
  84.          cannot  accept   responsibility for system  damage,  loss  of
  85.          profit,   or   any    other    special,    incidental,     or
  86.          consequential damage  resulting  from  the use or   inability
  87.          to  use  this product.
  88.  
  89.          International  TeleCommunications  DOES   warrant   to    the
  90.          original  licensee of a REGISTERED product that  the  program
  91.          disk(s)  on which  the  program  is  recorded be  free   from
  92.          defects   in materials and workmanship under normal  use  and
  93.          service  for  a period  of  ninety  (90) days from  the  date
  94.          of   delivery   as  evidenced  by  a copy  of  your  receipt.
  95.          International  TeleCommunications' entire liability and  your
  96.          exclusive  remedy  shall  be replacement  of  the   disk  not
  97.          meeting  International TeleCommunications Limited Warranty.
  98.  
  99.                        DISTRIBUTION POLICY AND COPYRIGHT
  100.  
  101.                                    COPYRIGHT
  102.  
  103.          Despite the method of marketing, Tmodem is not in  the public
  104.          domain.   It is the proprietary property of International
  105.          TeleCommunications.   All  rights  are  reserved.    Copying,
  106.          duplicating,   selling   or   otherwise   distributing   this
  107.          product   except  as expressly  permitted  in the  TEST-DRIVE
  108.          Distribution   Policy  below   is a  violation  of  the  Law.
  109.          However,  we grant you  the right,  in fact encourage you  to
  110.          make  and  distribute as  many copies   of   this  TEST-DRIVE
  111.          version  as  you   wish,  using   any  acceptable  medium  of
  112.          exchange, with the following provisions:
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.          Tmodem          Technical Reference Manual           Page  2
  125.  
  126.                      -- TEST-DRIVE Distribution Policy --
  127.  
  128.           1.   Please feel free to distribute this TEST-DRIVE version as
  129.                often as you like, to any interested parties.
  130.           2.   Please do not distribute the program without all of its
  131.                original related files, addendum files, and documentation.
  132.           3.   Please obtain our written permission prior to distribution
  133.                with any "Bundled" software packages.
  134.           4.   Please do not accept payment for the program; a copying fee of
  135.                $10.00 per diskette may be charged when distributed by a
  136.                non-profit user-group.
  137.           5.   Please do not alter the program or documentation in any
  138.                manner.
  139.           6.   NOTE - Individuals, groups, vendors, or other software
  140.                distribution companies which market diskettes containing
  141.                the TEST-DRIVE programs for profit must obtain written
  142.                permission from International TeleCommunications prior to
  143.                distribution.
  144.  
  145.                           Tmodem Command Line Switches
  146.  
  147.          Each  switch must be preceded by either a forward slash   '/'
  148.          or a dash '-'.
  149.  
  150.          F   Slow Computer.
  151.          R   Receive File.
  152.          U   Place incoming files in this directory
  153.          K   Keep aborted transfers
  154.          N   Node Number caller is on.
  155.          P   Com Port to use.
  156.          B   Connect Baud Rate
  157.          X   Redefine Log
  158.          S   Send File(s).
  159.          A   Calibrate  Serial  Port.
  160.          C   Cancel Error/Suggestion Screens.
  161.          V   PMS Screening Engaged.
  162.  
  163.                                       /F
  164.                               9600 bps and higher
  165.                                  Slow Computer
  166.  
  167.          If  you have a high speed modem you MUST have a  16550  Uart.
  168.          Attempting  to run at high speeds without one will result  in
  169.          errors.
  170.  
  171.          You  might sneak by without a 16550 if you have a  fast  286,
  172.          386, or 486.
  173.  
  174.          A good way to check is by watching your transfers. If you are
  175.          under  an  error correcting connect, then you  should  almost
  176.          NEVER get an error reported by ANY transfer protocol.
  177.  
  178.  
  179.          Tmodem          Technical Reference Manual           Page  3
  180.  
  181.  
  182.          Getting  errors  reported (by ANY  transfer  protocol)  while
  183.          under  MNP  or  ARQ  can only mean.
  184.  
  185.          1.  The protocol goofed (Tmodem doesn't goof).
  186.          2.  You  may  have another  application  interfering  with
  187.              serial interrupts.
  188.          3.  You have hardware problems.
  189.          4.  You do not have a 16550 Uart.
  190.  
  191.  
  192.          Since you are using Tmodem, you can rule out one.
  193.  
  194.          If  you have a 16550 installed, then you can rule out  number
  195.          four  and that leaves you with two or three.
  196.  
  197.          If you have a multi-tasker or a network and a 16550 then  the
  198.          network and/or multi-tasker is stealing to much time and  the
  199.          16550 fifo's are being over run.
  200.  
  201.          If you have a 16550 and NOTHING else that may interfere  with
  202.          the  serial  interrupts,  then  you  more  than  likely  have
  203.          hardware problems.
  204.  
  205.          If  it is option 4, buy one and install it. 16550 uarts  cost
  206.          about $20.00 and are WELL worth it.
  207.  
  208.          Unless   you   have  hardware problems, I can  HELP  you   by
  209.          kicking  in RTS flow control. This does slow down  transfers,
  210.          but it is better to slow them DOWN than experience errors.
  211.  
  212.          If  you have to, add /F to the command line. But only use  it
  213.          if  you  HAVE  to and only until you fix  the  CAUSE  of  the
  214.          problem.
  215.  
  216.                                      /R
  217.                                  Receive Files
  218.  
  219.  
  220.          When   I  encounter  this switch, I  will  go   directly   to
  221.          receive files mode.
  222.  
  223.          You  MUST make sure that /R is the very last switch used.  If
  224.          it  is not, then you will be missing important  command  line
  225.          switches.
  226.  
  227.                                       /U
  228.                      Place inbound files in this directory
  229.  
  230.          You  can direct Tmodem to place inbound files in  a  specific
  231.          directory by using the /U command.
  232.  
  233.  
  234.          Tmodem          Technical Reference Manual           Page  4
  235.  
  236.          I will verify the directory you specified, so make sure it is
  237.          a VALID directory.
  238.  
  239.          You  cannot use Drive  designators or ROOT directories  with
  240.          the /U switch.
  241.  
  242.          For  instance,   /UC:  or  /UC:\. C: and C:\ aren't listed in
  243.          the FAT and I cannot validate them.
  244.  
  245.          Make  sure you do NOT use a trailing  backslash with  the  /U
  246.          path, I'll ADD a backslash when I concate  the file name with
  247.          the path you specified.
  248.  
  249.          E.g., d:\uploads\ is NOT valid, it should be d:\uploads .
  250.  
  251.          Here is a sample of a GOOD /U setting: /UC:\TELIX\UPLOADS
  252.  
  253.                                       /S
  254.                                Send These Files
  255.  
  256.          When  I  find the /S, I will immediately  begin  sending.
  257.  
  258.          YOU  should  make  sure that you have listed  ALL  the  OTHER
  259.          commands  before using the /S. Make sure you place ONE  blank
  260.          space between the /S switch and the first filename.
  261.  
  262.          Place one blank space between ADDITIONAL files names, if
  263.          you have specified more than one. You may include a drive and
  264.          path with the file names.
  265.  
  266.          E.g.,  c:\uploads\file1.exe is a valid file name.
  267.  
  268.          You can use the DOS wild card characters '?' and '*'.  I
  269.          will  expand  those  characters to match  any  file  in  that
  270.          directory.
  271.  
  272.          I   do   not place limits on the number of files   that   can
  273.          FOLLOW  /S,  but  DOS DOES! DOS   restricts   the  number  of
  274.          characters you can place  on  a command line to 128.
  275.  
  276.          DOS   also limits you to nine batch parameter  symbols,    %1
  277.          through %9.
  278.                                     @
  279.  
  280.               If  the  file name begins with the AT  sign,  '@',  I'll
  281.               assume  you  mean to USE the file as  a  "SEND"  control
  282.               file.
  283.  
  284.               e.g. @D:\OSIRIS\SEND2.CTL
  285.  
  286.               Since   DOS forces me to work with 128 and   nine  batch
  287.               variables,  using  @  to  send   file   names   is   the
  288.               preferred method of passing the names.
  289.          Tmodem          Technical Reference Manual           Page  5
  290.  
  291.               The information following  @ is the full drive, path,
  292.               and file name of a TEXT file.
  293.  
  294.               I   do  not place restrictions on the  number  of  files
  295.               that you  can  have listed and you can include the  full
  296.               drive,  path, along with name of the file. You can
  297.               include DOS wild card characters, '?' and '*'.
  298.  
  299.               E.g., C:\PCboard\Tlx310a.exe is valid.
  300.               E.g., C:\Telix\*.arj is valid.
  301.  
  302.               Each line in the file must contain only ONE filename and
  303.               has to end with the DOS CR/LF sequence.
  304.  
  305.               Sample Send Control File:
  306.  
  307.               C:\DRIVERS\MPT110.ZIP
  308.               C:\DRIVERS\TMOD610.ARJ
  309.               C:\DRIVERS\ZMOD*.*
  310.  
  311.  
  312.                                       /K
  313.                             Keep Aborted Transfers
  314.  
  315.          If  you  drop  carrier or time out, I will delete the aborted
  316.          file.
  317.  
  318.          If  you're  using Tmodem with a TERMINAL program,  then   you
  319.          will WANT to keep the file.
  320.  
  321.          Adding   /K  to your Tmodem command line tells  ME  you  want
  322.          to keep aborted transfers.
  323.  
  324.                    NOTE:  I will not  keep aborted  files  if
  325.                    you  abort using  the ESC key, even if you
  326.                    DO use /K.
  327.  
  328.                                       /N
  329.                                   Node Number
  330.  
  331.          If   you're running OSIRIS SE, you can include  /Nx  on   the
  332.          command line.
  333.  
  334.          E.g., /N1  /N2  /N3  . . .  /N255
  335.  
  336.          Add /N*N to your protocol command lines.
  337.  
  338.          I'll   display the callers name, city, and  state   at    the
  339.          bottom of the screen, useful when you walk into the room  and
  340.          WONDER who  is currently downloading what.
  341.  
  342.  
  343.  
  344.          Tmodem          Technical Reference Manual           Page  6
  345.  
  346.                                       /P
  347.                                    Com Port
  348.  
  349.          You  have to tell me which serial port your caller is  ON  by
  350.          including /Px on the command line.
  351.  
  352.          E.g., /P1  /P2  /P3  . . .  /P8
  353.  
  354.          If  you aren't running Osiris, you can only use P1,  P2,  P3,
  355.          or P4.
  356.  
  357.          If  you are  using Osiris, you  can  use  /P5 though /P8.
  358.  
  359.                                       /V
  360.                              Engage PMS Screening
  361.  
  362.          This  can ONLY be used on an OSIRIS system. This tells me  to
  363.          allow  Osiris  to monitor the serial port with  its  ANTI-PMS
  364.          screening  system. PMS is a method of taking over a  computer
  365.          remotely  and  Osiris has an internal  proprietary  screening
  366.          system to prevent that.
  367.  
  368.          Btw,  PMS  works with any BBS program. If you  wake  up  some
  369.          morning  and discover your BBS sub-directory missing or  your
  370.          entire harddrive seems to have been erased, then it is likely
  371.          that you've been invaded by someone using PMS.
  372.  
  373.          PMS does NOT require Tmodem to work. PMS uses the SERIAL port
  374.          and  ANY  program  that DEALS with the  serial  port:  games,
  375.          protocols, BBS programs etc.
  376.  
  377.                                       /B
  378.                                Connect Baud Rate
  379.  
  380.          You have to provide the TRUE CONNECT RATE, most  of the  time
  381.          this is the same as your SERIAL baud rate.
  382.  
  383.          e.g. /B1200  /B2400  /B9600
  384.  
  385.          If you have a high speed modem with a FIXED serial rate,  the
  386.          CONNECT  rate may not always be the same, but  that   doesn't
  387.          change anything. You still must pass  the  TRUE connect  rate
  388.          and not the SERIAL rate.
  389.  
  390.          If your terminal program isn't capably of passing the CONNECT
  391.          rate then HARD CODE 0 in as the /B parameter.
  392.  
  393.          E.g., /B0
  394.  
  395.          I will PROMPT you for the CONNECT rate.
  396.  
  397.  
  398.  
  399.          Tmodem          Technical Reference Manual           Page  7
  400.  
  401.                             Locked DTE/BBS programs
  402.  
  403.          You'll  need  to  define an  environment    variable   called
  404.          COMx=BaudRate. Replace x  with the  serial port  number   and
  405.          BaudRate with the  LOCKED  baud rate.
  406.  
  407.          e.g. COM1=19200
  408.  
  409.          Do  NOT add blank spaces or comma's. Make sure you use  Upper
  410.          Case.
  411.  
  412.          You can do that in the AUTOEXEC.BAT file or in the BATCH file
  413.          you use to CALL Tmodem.
  414.  
  415.          e.g.
  416.  
  417.          cls
  418.          Echo Loading Tmodem
  419.          SET COM2=38400
  420.          Tmodem -B%1 -P%2 -R
  421.          echo Transfer Complete.
  422.          Exit
  423.  
  424.          Tmodem can support up to 115,000 baud using a combination  of
  425.          COMx and /B.
  426.  
  427.                                       /X
  428.                                Redefine the Log
  429.  
  430.          I will write a TRANSFER log called Tmodem.Log in the  current
  431.          directory.  If I find OSIRIS= defined in the  environment,  I
  432.          will write the log in that directory.
  433.  
  434.          /X  allows  you  to DEFINE a NEW  name  and  location,  e.g.,
  435.          /XC:\TELIX\TRANS.LOG
  436.  
  437.                                       /A
  438.                              Calibrate Serial Port
  439.  
  440.          Older  IBMs have  problems dealing  with  high  speed  modems
  441.          and LOCKED DTE rates.
  442.  
  443.          Normally   this  doesn't cause problem,   but   since  Tmodem
  444.          customizes the way it sends, it does.
  445.  
  446.          /A   tells me to calibrate the serial port and if it is  off,
  447.          figure the deviations into the send algorithm.
  448.  
  449.          One side  effect  is  the  detection  of inaccurate   command
  450.          line  switches, some of them. If  you  have  trouble  getting
  451.          Tmodem to work, TRY adding this switch.
  452.  
  453.  
  454.          Tmodem          Technical Reference Manual           Page  8
  455.  
  456.                                 Phase Shifting
  457.  
  458.          This  happens when the SENDER and the RECEIVER come  up  with
  459.          different  ALGORITHMS,  one or both have  inaccurate  command
  460.          line settings.
  461.  
  462.          If this happens, Tmodem will place the message "Error RT6000:
  463.          Phase Shifting!" on the screen.
  464.  
  465.          If Phase Shifting is detected, Tmodem will use a "BEST GUESS"
  466.          algorithm.  "BEST GUESS" means the transfer WILL take  place,
  467.          but  you  only  have  a 50/50  chance  of  achieving  maximum
  468.          thoughput. If it guesses wrong, you'll end up with  thoughput
  469.          about  equal to Ymodem-G, so do yourself a favor and fix  the
  470.          problem.
  471.  
  472.                                Required Switches
  473.  
  474.          Each  Tmodem installation will require TWO switches. It  does
  475.          not matter  what type of BBS/Terminal program you're going to
  476.          use.
  477.  
  478.          It does not matter if it is SEND or RECEIVE.
  479.  
  480.          /Bxxxxx and /Px
  481.  
  482.          You  should  replace   xxxxx  in  the /B  with   the  correct
  483.          CONNECT rate or 0. Replace the x in /P with  the correct  COM
  484.          port.
  485.  
  486.          /B9600 /P2  (Connect Rate 9600, COM 2)
  487.          /B2400 /P1  (Connect Rate 2400, COM 1)
  488.  
  489.          It is not important WHERE you place the switches, as long  as
  490.          they are NOT the LAST switch used.
  491.  
  492.                             Your Receive Batch File
  493.  
  494.          Your  Receive  Batch file will require  only  one  additional
  495.          switch, /R.
  496.  
  497.          It MUST be the very last switch on the command line.
  498.  
  499.          The  MINIMUM command line for receiving would be:
  500.  
  501.          Tmodem /B2400 /P1 /R
  502.  
  503.          2400  and  1 can  be supplied by DOS  batch  variables,  e.g.
  504.          Tmodem /B%1 /P%2 /R
  505.  
  506.  
  507.  
  508.  
  509.          Tmodem          Technical Reference Manual           Page  9
  510.  
  511.          Other   optional   switches,  /U  . . .  /K  etc.,  must   be
  512.          included BEFORE the /R switch.
  513.  
  514.                                 Send Batch File
  515.  
  516.          Your "SEND" batch file only "requires" ONE additional switch,
  517.          /S.
  518.  
  519.          The MINIMUM command line for sending a file:
  520.  
  521.          /B2400 /P2 /S FILENAME#1 FILENAME#2 FILENAME#3
  522.  
  523.          or
  524.  
  525.          /B2400 /P2 /S @CTRL_NAME
  526.  
  527.          2400,  2, FILENAME#1, FILENAME#2,  FILENAME#3,  etc.  may  be
  528.          supplied by  DOS  batch variables.
  529.  
  530.          E.g., Tmodem /B%1 /P%2 /S %3 %4 %5 %6 %7 %8 %9
  531.  
  532.                                 Error Levels
  533.  
  534.          I  will  exit,  following the transfer, with  an error  level
  535.          of 0  or  1.
  536.  
  537.          Zero,  0,  indicates  a  successful  transfer  and  one,   1,
  538.          indicates an error.
  539.  
  540.  
  541.                                 Debug Messages
  542.  
  543.          Tmodem   will  display several ERROR messages  when   missing
  544.          important or required command line switches.
  545.  
  546.          I.e., Missing or Illegal Baud Rate.
  547.  
  548.          Reference  The  Section(s) of this document  that  deal  with
  549.          that particular command line setting.
  550.  
  551.                              BBS/Terminal Programs
  552.  
  553.          I  use  a very basic command line setup  which  should  allow
  554.          Tmodem to be used by almost any program.
  555.  
  556.          I do NOT expect that it will work with EVERYTHING.
  557.  
  558.          If  you are using something that it will just flat  not  work
  559.          with then send it to me.
  560.  
  561.          You  can upload it or mail it and I will attempt to find  out
  562.          why.
  563.  
  564.          Tmodem          Technical Reference Manual           Page  10
  565.  
  566.                           Installing Tmodem on A BBS
  567.  
  568.          Make  sure  you read the Tmodem.doc file at least  twice  and
  569.          write  down all the command line switches, even if you  don't
  570.          think  you'll need them  all.
  571.  
  572.          It  will lowers  the chance that  you may overlook  that  one
  573.          little   switch   that  will  make  Tmodem  work  with   your
  574.          software.
  575.  
  576.          One  Pcboard  sysop complained that Tmodem just  dropped  the
  577.          uploads  in the current directory, Pcboard  required  uploads
  578.          be  routed  to a  SPECIFIC  directory, and he had  to  switch
  579.          into the upload directory manually, in his batch file.
  580.  
  581.          Had he read the tmodem.doc file, he would have known that  /U
  582.          routes uploads and would have solved his problem.
  583.  
  584.          You   should NEVER  attempt to add TMODEM to  your   terminal
  585.          software AND BBS  simultaneously.
  586.  
  587.          You   WILL need to have Tmodem installed and  debugged,   ALL
  588.          baud   rates, in  your terminal package before attempting  to
  589.          installing it on your BBS.
  590.  
  591.          Find  a  BBS that has Tmodem installed, correctly,  and  test
  592.          your terminal setup. Make sure you test at 2400 and  at 9600,
  593.          if  you have  a 9600  baud modem, by transferring   files  to
  594.          and from the  BBS. Make sure you have it tested both SEND and
  595.          RECEIVE.
  596.  
  597.          If you do not know of a BBS that HAS Tmodem set up correctly,
  598.          call 1-314-334-6359.
  599.  
  600.                     Installing Tmodem on a Terminal Package
  601.  
  602.          First,  READ your terminal program's documentation on HOW  to
  603.          install external programs.
  604.  
  605.          Know EXACTLY HOW  and  WHAT your terminal program passes   in
  606.          respects   to command line arguments. Each  terminal  program
  607.          does  this a little  differently, some VERSIONS of the   same
  608.          terminal program do it differently.
  609.  
  610.          Keeping in mind that Tmodem REQUIRES 3 switches.
  611.  
  612.          These two are ALWAYS used in BOTH batch files.
  613.  
  614.          /Bxxxx with xxxx being the CONNECT baud rate
  615.          /Px  with x being the COM Port
  616.  
  617.          Your 3rd REQUIRED switch will vary.
  618.  
  619.          Tmodem          Technical Reference Manual           Page  11
  620.  
  621.          Your Receive batch file will use /R and your SEND batch  file
  622.          will use  /S <Filename>
  623.  
  624.                   <Filename> is the NAME of the file to Send.
  625.  
  626.          Your   receive   batch  file should  also  include  /K,  keep
  627.          aborted transfers.
  628.  
  629.          Most  will  be  using  DOS BATCH  parameters  to  pass    the
  630.          information  from  your terminal program to Tmodem.
  631.  
  632.          E.g., Tmodem /K /B%1 /P%2 /R
  633.          E.g., Tmodem /B%1 /P%2 /S %3 %4 %5 %6 %7 %8 %9
  634.  
  635.          The   number   following  the percent sign can,   and   will,
  636.          vary depending   on your software. It can vary  depending  on
  637.          the  version  of your software, that's why I can't  TELL  you
  638.          what  to use for a specific program.
  639.  
  640.          There  is an EASY method you can use to FIGURE all this  out.
  641.          Place  the following line in both the SEND and RECEIVE  batch
  642.          files.
  643.  
  644.          Echo %1 %2 %3 %4 %5 %6 %7 %8 %9
  645.          pause
  646.          Tmodem <your normal command line>
  647.  
  648.          The  line  beginning  with "Echo"  shows  exactly  WHAT  your
  649.          terminal program is passing and in which % variable.
  650.  
  651.          The  BIGGEST single problem is passing the CONNECT baud  rate
  652.          to  Tmodem  when  a 9600 baud modem is  used.
  653.  
  654.          Some   Terminal programs, Telix, were not  written to  handle
  655.          smart  protocols. They pass the SERIAL baud rate  instead  of
  656.          the connect  baud rate, which isn't acceptable.
  657.  
  658.          It   is    easy    to   debug   this   problem   using    the
  659.          debugging  example outlined earlier.
  660.  
  661.          If  the  %x  variable you're using to pass   the  baud   rate
  662.          contains  9600,  19200, or 38400 when you call   a 2400  baud
  663.          system,   your  terminal program wasn't  written  to   handle
  664.          smart protocols.
  665.  
  666.                    Some  terminal  programs  (Qmodem)  offer
  667.                    your TWO  % variables for baud rate,  one
  668.                    is  the  CONNECT  rate  and  one  is  the
  669.                    SERIAL rate.
  670.  
  671.          The  solution, hard code 0 as  the  /B parameter, I'll
  672.          ASK you for the connect rate.
  673.  
  674.          Tmodem          Technical Reference Manual           Page  12
  675.  
  676.          E.g., Tmodem /B0 /P%2 /R
  677.  
  678.          Letting me KNOW you're using a LOCKED serial port is  another
  679.          common problem.
  680.  
  681.          Be  sure you set the COMx=LOCKRATE in your  environment.  You
  682.          can  do  that  by  including one of  the  following  in  your
  683.          autoexec.bat  file, or  on the line  prior to calling Tmodem,
  684.          in your "SEND" or "RECEIVE" batch files.
  685.  
  686.          Select  one of the following that reflects your serial   port
  687.          and lock rate.
  688.  
  689.          SET COM1=9600
  690.          SET COM2=9600
  691.          SET COM3=9600
  692.          SET COM4=9600
  693.          SET COM1=19200
  694.          SET COM2=19200
  695.          SET COM3=19200
  696.          SET COM4=19200
  697.          SET COM1=38400
  698.          SET COM2=38400
  699.          SET COM3=38400
  700.          SET COM4=38400
  701.  
  702.          If  you  place  the SET command in  your  AUTOEXEC.BAT  file,
  703.          REBOOT your computer so it will take effect.
  704.  
  705.                          Terminal Interface Examples
  706.  
  707.                                      Telix
  708.  
  709.          If  you have a 300, 1200, or 2400 baud modem you'll need two
  710.          batch files, one to send and one to receive.
  711.  
  712.          Tsend is for Sending file(s) and Trcv.bat is setup to RECEIVE
  713.          files.
  714.  
  715.          Trcv.bat calls Tmodem:
  716.  
  717.          Tmodem -K -UC:\UPLOADS -B%1 -P%2 -R
  718.  
  719.          Notice the -UC:\UPLOADS
  720.  
  721.          This is an optional switch that directs all files received to
  722.          a holding directory called C:\UPLOADS
  723.  
  724.          I.e., Tmodem -K -B%1 -P%2 -R
  725.  
  726.          Tsend.bat calls Tmodem:
  727.  
  728.          Tmodem -B%1 -P%2 -S %3
  729.          Tmodem          Technical Reference Manual           Page  13
  730.  
  731.                          Locked Serial Ports and Telix
  732.  
  733.          You'll   need  to  add  COMx=LOCK_RATE   to    trcv.bat   and
  734.          Tsend.bat.
  735.  
  736.          Assuming  Com 2 is used and the  lock  rate  is 19,200 baud.
  737.  
  738.          Trcv.bat:
  739.  
  740.          SET COM2=19200
  741.          Tmodem -K -UC:\UPLOADS -B%1 -P%2 -R
  742.  
  743.          Tsend.bat
  744.  
  745.          SET COM2=19200
  746.          Tmodem -B%1 -P%2 -S %3
  747.  
  748.          If  you're  using Telix with a Fixed DTE rate,  you  have   a
  749.          problem.  Telix   always  passes the SERIAL rate  in  the  %1
  750.          variable.
  751.  
  752.          The   fix  is  simply,  but  does   require  that   you   pay
  753.          attention to the CONNECT message  telix  gives you.
  754.  
  755.          You  will need to take Tsend and  Trcv.bat and make a  couple
  756.          of small modifications.
  757.  
  758.          Trcv.bat calls Tmodem :
  759.  
  760.          Tmodem -K -UC:\UPLOADS -B0 -P%2 -R
  761.  
  762.          Notice that the %1 following the -B has been replaced with  0
  763.          (zero).
  764.  
  765.          This   tells me that Telix cannot pass the TRUE connect  rate
  766.          and  I'll  open a small window in the middle  of  the  screen
  767.          displaying   4 connect rate options, select the one  that  is
  768.          correct  for the current session.
  769.  
  770.          You  need  to make the same modifications to  the   Tsend.bat
  771.          file.
  772.                                     Qmodem
  773.  
  774.                              300/1200/2400 Modems
  775.                 9600 Baud Modem, running a FLOATING serial Port
  776.  
  777.          Qmodem External Download file for Tmodem.
  778.  
  779.          <TDN.BAT>
  780.          Tmodem -B%3 -P%2 -K -R
  781.          Exit
  782.  
  783.  
  784.          Tmodem          Technical Reference Manual           Page  14
  785.  
  786.          Qmodem External Upload file for Tmodem.
  787.  
  788.          <TUP.BAT>
  789.          Tmodem -B%3 -P%2 -S %4
  790.          Exit
  791.  
  792.                  9600 Baud Modem, running a LOCKED Serial Port
  793.  
  794.          Qmodem External Download file for Tmodem.
  795.  
  796.          <TDN.BAT>
  797.          Tmodem -A -B%3 -P%2 -K -R
  798.          Exit
  799.  
  800.          Qmodem External Upload file for Tmodem.
  801.  
  802.          <TUP.BAT>
  803.          Tmodem -A -B%3 -P%2 -S %4
  804.          Exit
  805.  
  806.                                     QT 2000
  807.  
  808.                           Protocol Definition Record
  809.  
  810.          Send : -B*B -P*P -S *F
  811.          RCV  : -K -B*B -P*P -R
  812.                                     BBS Examples
  813.  
  814.          We're  no  longer  including samples  of  other  brand-x  bbs
  815.          programs.
  816.  
  817.          The examples that were submitted for varies BBS programs seem
  818.          to only work only part of the time and varied from system  to
  819.          system and from software version to software version.
  820.  
  821.          This  confused more people than it helped and my  technically
  822.          support division was bombarded with questions they had no way
  823.          of answering.
  824.  
  825.          *************************************************************
  826.                    I M P O R T A N T  S O  R E A D  T H I S !
  827.  
  828.                               LIMITED SHAREWARE.
  829.  
  830.          Tmodem is LIMITED SHAREWARE, meaning you can try most of  the
  831.          features before you  purchase it.
  832.  
  833.                          Features that will not work.
  834.  
  835.          Batch   Transfers: You cannot use Tmodem as a BATCH  protocol
  836.          in NON-REGISTERED MODE.
  837.  
  838.          ****************************************************************
  839.          Tmodem          Technical Reference Manual           Page 15
  840.  
  841.                              Registering Tmodem
  842.  
  843.                            ($15.00 you download Key)
  844.               ($25.00 for Disk with Latest Version Mailed to You)
  845.  
  846.          Fill out the Order.Frm and Mail To :
  847.  
  848.                         International  TeleCommunications
  849.                              555 North Spring, #39
  850.                            Cape Girardeau Mo. 63701
  851.  
  852.                               $15.00 Registration
  853.  
  854.          You DOWNLOAD the Registered Tmodem from the BBS at 1-314-334-
  855.          6359.
  856.  
  857.  
  858.                               $25.00 Registration
  859.  
  860.          We   will   send you the registered Tmodem  on a 5  1/2  360K
  861.          diskette.
  862.  
  863.                                    Upgrades
  864.  
  865.          You  can  upgrade  to a newer version of  Tmodem  for  $5.00,
  866.          download  upgrade  from  BBS, or $10.00 and  we'll  mail  the
  867.          upgrade to you on a 5 1/4 diskette.
  868.  
  869.                                Tmodem License
  870.  
  871.                              Please Read Carefully
  872.  
  873.          WHEN you register Tmodem, you indicate your   acceptance   of
  874.          these terms.
  875.  
  876.          1. License Grant. International TeleCommunications will grant
  877.          you  a non-exclusive license to use one copy of Tmodem  on  a
  878.          single  computer or on a single terminal connect to a  single
  879.          computer. Neither concurrent use on two or more computers nor
  880.          use  in a local area network is authorized  without  advanced
  881.          written  consent of International TeleCommunications and  the
  882.          payment of additional license fees.
  883.  
  884.          2. International TeleCommunications' Rights. You  acknowledge
  885.          and   agree   that  Tmodem  is  a  proprietary   product   of
  886.          International   TeleCommunications,   protected   under   U.S
  887.          copyright  law,  international treaty provisions,  and  trade
  888.          secret laws of general applicability. You further acknowledge
  889.          and  agree  that all rights, title, and interest  in  and  to
  890.          Tmodem    are   and   shall   remain    with    International
  891.          TeleCommunications.
  892.  
  893.  
  894.          Tmodem          Technical Reference Manual           Page 16
  895.  
  896.          3. Other Restrictions. You may not lease or rent Tmodem.  You
  897.          may not disassemble, decompile, or reverse engineer Tmodem.
  898.  
  899.          4.   Tmodem   is  licensed  "AS   IS,"   and    International
  900.          TeleCommunications disclaims any and all warranties,  whether
  901.          express  or  implied,  including  (without  limitation)   any
  902.          implied  warranties  of  merchantablity  or  fitness  for   a
  903.          particular purpose.
  904.  
  905.          5. Limitation of Liability. International TeleCommunications'
  906.          cumulative  liability to you or any other party for any  loss
  907.          or  damage  resulting from any claims,  demands,  or  actions
  908.          arising out of or relating to this agreement shall not exceed
  909.          the license fee paid to International TeleCommunications  for
  910.          the   use  of  Tmodem.  In  no  event   shall   International
  911.          TeleCommunications  be liable for any  indirect,  incidental,
  912.          consequential, special, or exemplary damages or lost profits,
  913.          even if International TeleCommunications has been advised  of
  914.          the possibility of such damages. Some states do not allow the
  915.          limitation  or  exclusion  of  liability  for  incidental  or
  916.          consequential  damages, so the above limitation or  exclusion
  917.          may not apply to you.
  918.  
  919.          6.  Governing Law. This license agreement shall be  construed
  920.          and  governed  in accordance with the laws of  the  State  of
  921.          Missouri.
  922.  
  923.          7. Severability. Shall any term of this license agreement  be
  924.          declared  void  or unenforceable by any  court  of  competent
  925.          jurisdiction,  such declaration shall have no effect  on  the
  926.          remaining terms hereof.
  927.  
  928.